﻿''' <summary>
''' Class untuk menampilkan pilihan attribute koneksi
''' </summary>

Public Class Options
    ''' <summary>
    ''' Jenis protokol
    ''' </summary>
    Public Enum Protocol
        TCP = 1
        SOCKET = 2
    End Enum

    ''' <summary>
    ''' Jenis enkripsi
    ''' </summary>
    Public Enum Encryption
        Yes = 1
        No = 2
    End Enum

    ''' <summary>
    ''' Jenis characterset
    ''' </summary>
    Public Enum CharSet
        UTF8
    End Enum

    ''' <summary>
    ''' Jenis enkrispi (alternatif)
    ''' </summary>
    Public Enum Encrypt
        Yes = 1
        No = 2
    End Enum

    ''' <summary>
    ''' Jenis IgnorePrepare
    ''' </summary>
    Public Enum IgnorePrepare
        Yes = 1
        No = 2
    End Enum

    ''' <summary>
    ''' Jenis nama memori bagi-pakai
    ''' </summary>
    Public Enum SharedMemoryName
        MYSQL = 1
    End Enum

    ''' <summary>
    ''' Jenis log
    ''' </summary>
    Public Enum CommandLogging
        Yes = 1
        No = 2
    End Enum

    ''' <summary>
    ''' Jenis kompresi
    ''' </summary>
    Public Enum Compress
        Yes = 1
        No = 2
    End Enum

    ''' <summary>
    ''' Jenis pooling
    ''' </summary>
    Public Enum Pooling
        Yes = 1
        No = 2
    End Enum

    ''' <summary>
    ''' Jenis direct koneksi
    ''' </summary>
    Public Enum Direct
        Yes = 1
        No = 2
    End Enum

End Class
